package C:.Users.DELL.IdeaProjects.Mm.entity.author;

import java.io.Serializable;
import lombok.Data;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import lombok.experimental.Accessors;

/**
 * @Description  
 * @Author  
 * @Date 2023-11-17 
 */

@Data
@Accessors(chain = true)
@TableName("author_class")
public class AuthorClass  implements Serializable {



   @TableId(type = IdType.AUTO)
	private Long id;

	/**
	 * 类别id
	 */
	private Long categoryId;

	/**
	 * 标题
	 */
	private String title;

	/**
	 * 简介
	 */
	private String synopsis;

	/**
	 * 内容
	 */
	private String content;

	/**
	 * 封面地址
	 */
	private String imgUrl;

	/**
	 * 创建时间
	 */
   @TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;

	/**
	 * 更新时间
	 */
   @TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime updateTime;

}
